package com.fadadianqi.logistics.sell.model;

import com.fadadianqi.commons.BaseObject;

import java.util.Date;

public class Item extends BaseObject {

    /**
     *
     */
    private static final long serialVersionUID = 8828796249111671376L;

    public static final String PROP_BILL_ID = "billId";

    public static final String PROP_BATCH_ID = "batchId";

    public static final String PROP_INVENTORY_ITEM_ID = "inventoryItemId";

    public static final String PROP_CATEGORY_ID = "categoryId";

    public static final String PROP_GOODS_ID = "goodsId";

    private String billId;

    private String goodsId;

    private String brandId;

    private String categoryId;

    private Double payables;

    private String inventoryItemId; // 库存ID

    private String batchId; // 进货批次

    private Double cost; //成本

    private Double purchase; //采购价格

    private Boolean isReturn = Boolean.FALSE; // 是否退货

    private Date addTime;


    public Double getPurchase() {
        return purchase;
    }

    public void setPurchase(Double purchase) {
        this.purchase = purchase;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getBatchId() {
        return batchId;
    }

    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    public Boolean getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(Boolean isReturn) {
        this.isReturn = isReturn;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getInventoryItemId() {
        return inventoryItemId;
    }

    public void setInventoryItemId(String inventoryItemId) {
        this.inventoryItemId = inventoryItemId;
    }

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public Double getPayables() {
        return payables;
    }

    public void setPayables(Double payables) {
        this.payables = payables;
    }
}
